/*
 * @Descripttion: 轮播图
 * @version:
 * @Author: qianlishi
 * @Date: 2021-08-29 07:08:53
 * @LastEditors: qianlishi qianlishi@anji-plus.com
 * @LastEditTime: 2023-01-11 13:18:15
 */
export const widgetSliders = {
  code: 'widget-slider',
  type: 'text',
  tabName: '文本栏',
  label: '轮播图片',
  icon: 'slider',
  options: {
    // 配置
    setup: [
      {
        type: 'el-input-text',
        label: '图层名称',
        name: 'layerName',
        required: false,
        placeholder: ''
      },
      {
        type: 'el-switch',
        label: '隐藏图层',
        name: 'hideLayer',
        required: false,
        placeholder: ''
      },
      {
        type: 'el-select',
        label: '轮播方向',
        name: 'tabDirection',
        required: false,
        placeholder: ''
      },
      {
        type: 'el-select',
        label: '选择器',
        name: 'tabSelector',
        required: false,
        placeholder: ''
      },
      {
        type: 'el-input-number',
        label: '轮播时间',
        name: 'tabTime',
        required: false,
        placeholder: ''
      }
    ],
    // 数据
    data: [],
    // 坐标
    position: [
      {
        type: 'el-input-number',
        label: '左边距',
        name: 'left',
        required: true,
        placeholder: ''
      },
      {
        type: 'el-input-number',
        label: '上边距',
        name: 'top',
        required: true,
        placeholder: ''
      },
      {
        type: 'el-input-number',
        label: '宽度',
        name: 'width',
        required: true,
        placeholder: '该容器在1920px大屏中的宽度'
      },
      {
        type: 'el-input-number',
        label: '高度',
        name: 'height',
        required: true,
        placeholder: '该容器在1080px大屏中的高度'
      }
    ]
  }
}
